			<div id="search_result">
				<ul>		
					<?php if(!empty($dataSearch)):?>
						<?php foreach($dataSearch as $key => $value):?>
							<?php $moduleType= preg_replace('/_\d+$/','',$value->id);?>
							<?php 
								switch($moduleType):
									case 'song':
										$id = str_replace('song_','',$value->id); 
										$folder = 'album';
										$image = @$value->song_image_name_s;
										$subject = $value->song_name_s;
										$brief = '';
										$link = $music_url.'play/'.$id.'-'.seo_url($subject);
									break;
									case 'movie':
										$id = str_replace('movie_','',$value->id);
										$folder = 'movie';
										$image = @$value->movie_image_name_s;
										$subject = $value->movie_name_s;
										$brief = '';
										$link = $movie_url.'play/'.$id.'-'.seo_url($subject);
									break;
									case 'video':
										$id = str_replace('video_','',$value->id);
										$folder = 'video';
										$image = @$value->video_image_name_s;
										$subject = $value->video_name_s;
										$brief = '';
										$link = $video_url.'play/'.$id.'-'.seo_url($subject);
									break;
									case 'artist':
										$id = str_replace('artist_','',$value->id);
										$folder = 'artist';
										$image = @$value->artist_image_name_s;
										$subject = $value->artist_name_s;
										$brief = $value->artist_short_desc_s;
										$link = $artist_url.'summary/'.$id.'-'.seo_url($subject);
									break;
									case 'album':
										$id = str_replace('album_','',$value->id);
										$folder = 'album';
										$image = @$value->album_image_name_s;
										$subject = $value->album_name_s;
										$brief = '';
										$link = $artist_url.'album/'.$value->artist->artist_id.'-'.seo_url($value->artist->artist_name).'/'.$id.'-'.seo_url($subject);
									break;
									case 'news':
										$id = str_replace('news_','',$value->id);
										$folder = 'news';
										$image = @$value->news_image_name_s;
										$subject = $value->news_name_s;
										$brief = $value->news_short_desc_s;
										$link = $news_url.'archives/'.$id.'-'.seo_url($subject);
									break;
									case 'chords':
										$id = str_replace('chords_','',$value->id);
										$folder = (isset($value->song_id_i) && !empty($value->song_id_i) ? 'album':'chords');
										$image = @$value->chords_image_name_s;
										$subject = $value->chords_name_s;
										$brief = '';
										$link = $chord_url.'play/'.$id.'-'.seo_url($subject);
									break;									
								endswitch;
							?>
							<li>
								<a href="<?php echo $link;?>" target="_blank">
									<div class="image">
										<?php echo exec_image(array(
											'folder' => ''.$folder.'',
											'dimension' => '120x120',
											'file_name' => @$image,
											'alt' => ''.$subject.'',	
											'title' => ''.$subject.''	
											)
										);?>
									</div>
								</a>
								<div class="info">
									<a href="<?php echo $link;?>" target="_blank">
										<h2><?php echo  $subject;?></h2>
									</a>
									<p><?php echo  $brief;?></p>
									<a href="<?php echo $link;?>" class="link" target="_blank"><?php echo $link;?></a>
								</div>
							</li>
						<?php endforeach;?>
					<?php else:?>
						<li class="empty">ไม่มีข้อมูลของคำค้นนี้</li>
					<?php endif;?>
				</ul>
				<div class="pager"><?php echo $pager;?></div>
			</div>	